package com.nwpu.coursesupport.view;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.nwpu.coursesupport.enumeration.RoleType;
import com.nwpu.coursesupport.enumeration.Status;
import com.nwpu.coursesupport.enumeration.SubmitTaskStatus;
import com.nwpu.coursesupport.enumeration.TaskType;

public class LessonTaskView {
	
	private int lessonId;
	private int taskId;
	private String title;
	private TaskType type;
	private String description;
	private int createId;
	private String createName;
	private RoleType roleType;
	private Status isVisible;
    private Status isAnswerVisible;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date deadline;
    private int assignId;
    private SubmitTaskStatus taskStatus;
    @JsonFormat(locale="zh", timezone="GMT+8", pattern="yyyy-MM-dd HH:mm:ss")
    private Date assignDate;
    
	public int getLessonId() {
		return lessonId;
	}
	public void setLessonId(int lessonId) {
		this.lessonId = lessonId;
	}
	public int getTaskId() {
		return taskId;
	}
	public void setTaskId(int taskId) {
		this.taskId = taskId;
	}
	public String getTitle() {
		return title;
	}
	public void setTitle(String title) {
		this.title = title;
	}
	public TaskType getType() {
		return type;
	}
	public void setType(TaskType type) {
		this.type = type;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public int getCreateId() {
		return createId;
	}
	public void setCreateId(int createId) {
		this.createId = createId;
	}
	public String getCreateName() {
		return createName;
	}
	public void setCreateName(String createName) {
		this.createName = createName;
	}
	public RoleType getRoleType() {
		return roleType;
	}
	public void setRoleType(RoleType roleType) {
		this.roleType = roleType;
	}
	public Status getIsVisible() {
		return isVisible;
	}
	public void setIsVisible(Status isVisible) {
		this.isVisible = isVisible;
	}
	public Status getIsAnswerVisible() {
		return isAnswerVisible;
	}
	public void setIsAnswerVisible(Status isAnswerVisible) {
		this.isAnswerVisible = isAnswerVisible;
	}
	public Date getDeadline() {
		return deadline;
	}
	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}
	public int getAssignId() {
		return assignId;
	}
	public void setAssignId(int assignId) {
		this.assignId = assignId;
	}
	public SubmitTaskStatus getTaskStatus() {
		return taskStatus;
	}
	public void setTaskStatus(SubmitTaskStatus taskStatus) {
		this.taskStatus = taskStatus;
	}
	public Date getAssignDate() {
		return assignDate;
	}
	public void setAssignDate(Date assignDate) {
		this.assignDate = assignDate;
	}
}
